#ifndef _TPORO_H_
#define _TPORO_H_

#include <iostream>

using namespace std;


class TPoro
{
   friend ostream & operator<<(ostream & os, const TPoro & p);
public:
   TPoro();
   TPoro(int px, int py, double pvolumen);
   TPoro(int px, int py, double pvolumen, char* pcolor);
   TPoro(const TPoro& p);
   ~TPoro();
   TPoro& operator=(const TPoro& p);
   bool operator==(const TPoro& p) const;
   bool operator!=(const TPoro& p) const;
   void Posicion(int px, int py);
   void Volumen(double pvolumen);
   void Color(char* pcolor);
   int PosicionX() const;
   int PosicionY() const;
   double Volumen() const;
   char* Color() const;
   bool EsVacio() const;

protected:

private:
   int x;
   int y;
   double volumen;
   char* color;

};

#endif // _TPORO_H_
